package com.it.zhangjun.thread;

import java.util.Random;

/**
 * 功能描述
 *
 * @author z00018123
 * @since 2021-08-27
 */
public class FSImageSaver implements Runnable {

    Random random = new Random(System.currentTimeMillis());

    @Override
    public void run() {
        int nextInt = random.nextInt(10);
        try {
            Thread.sleep(nextInt * 1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("=======" + nextInt);
    }
}
